﻿<Window x:Class="Configuration"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:Properties="clr-namespace:ToDo_VB"
    Title="Configuration for ToDo" Height="275" Width="385" Icon="report.ico" ResizeMode="NoResize" Topmost="True" WindowStartupLocation="CenterScreen">
	<Window.Resources>
		<Properties:MySettings x:Key="settings" />
	</Window.Resources>
    <StackPanel DataContext="{StaticResource settings}">
        <Label>Font Color</Label>
		<Button Click="fontColor_Click" Height="20" Margin="20, 0, 20, 0">
			<Button.Background>
				<SolidColorBrush Color="{Binding Path=FontForeColor, Mode=TwoWay}" />
			</Button.Background>
		</Button>
		<Label>Glow Color</Label>
		<Button Click="glowColor_Click" Height="20" Margin="20, 0, 20, 0">
			<Button.Background>
				<SolidColorBrush Color="{Binding Path=FontGlowColor, Mode=TwoWay}" />
			</Button.Background>
		</Button>
		<Label>Topmost Window</Label>
		<CheckBox Name="chkTopMost" Height="20" IsChecked="{Binding Path=TopMost, Mode=TwoWay}"
						  VerticalAlignment="Top" HorizontalAlignment="Left" Width="149" Margin="20,0,0,0">Topmost Window</CheckBox>
		<Label>ToDo File Location</Label>
		<TextBox Margin="20, 0, 110, 0" Name="txtToDoFind" IsReadOnly="True" VerticalAlignment="Bottom" Height="20" />
		<Button HorizontalAlignment="Right" Margin="0, -50, 20, 0" Name="btnToDoFind" Width="75" Click="btnToDoFind_Click" VerticalAlignment="Bottom" Height="22">Select</Button>
		<StackPanel Orientation="Horizontal" FlowDirection="RightToLeft" Margin="0, 20, 0, 20">
			<Button Height="23" Width="100" Name="btnCancel" Click="btnhCancel_Click" IsCancel="True" Margin="20, 0, 20, 0">Cancel</Button>
			<Button Height="23" Width="100" Name="btnOk" Click="btnOk_Click" IsDefault="True" >OK</Button>
		</StackPanel>
	</StackPanel>
	
</Window>
